package com.fh.shop.api.exception;

import com.fh.shop.api.common.ResponseEnum;

public class StockException extends RuntimeException{
    private ResponseEnum responseEnum;
    private String param;

    public StockException(ResponseEnum responseEnum,String param){
        this.responseEnum = responseEnum;
        this.param = param;
    }

    public ResponseEnum getResponseEnum() {
        return responseEnum;
    }

    public String getParam() {
        return param;
    }
}
